package com.wwmz.low.demeter.simple;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by wumz on 2020/9/14 12:54
 */
public class TeamLeader {

    public void commandCheckNumber(Employee employee){
        List<Course> courseList = new ArrayList<Course>();
        for (int i= 0; i < 20 ;i ++){
            courseList.add(new Course());
        }
        employee.checkNumberOfCourses(courseList);
    }
}
